Icons are always visible, so in order to not have overlays overlap
with other previews, we need to consider the sum of top- and border
oversizes rather than the maximum.
https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/81
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1605>
const [leftOversize, rightOversize] = window.chromeWidths();
if (rowSpacing)
- rowSpacing += Math.max(topOversize, bottomOversize);
+ rowSpacing += topOversize + bottomOversize;
if (colSpacing)
colSpacing += Math.max(leftOversize, rightOversize);